package main;

public class Creature {

	
	// Changing the order of the private variables did not seem to affect the total memory allocated
	
	
	private int i1 = 28;
	private int i2 = 034; // octal 28
	private int i3 = 0xCAFEBABE; //magic number used to identify Java class files
	private int i4 = 0x1c; //hexadecimal 28
	private int i5 = 0xCAFEBABE; //magic number used to identify Java class files
	
	private byte a = 127; // Min:-128 Max: 127
	private byte c = 127; // Min:-128 Max: 127
	private byte b = 127; // Min:-128 Max: 127
	private byte d = 127; // Min:-128 Max: 127
	
	private long l1 = 12345L; //a long value
	private long l2 = 12345L; //a long value
	private long l3 = 0xffL; // a long value
	private long l4 = 0xffL; // a long value
	
	private boolean c_isDead = true;
	private boolean c_ismoveing = false;
	private boolean c_isABC = true;
	private boolean c_isDEF = true;
	private boolean c_isGHI = true;
	private boolean c_isJKL = true;
	
	private String c_name = "Name of Creature";
	
	public Creature()
	{
		
	}
	
	public Creature(int i1, int i2, int i3, int i4, int i5, String c_name, 
			long l1, long l2, long l3, long l4, boolean c_isDead,  boolean c_ismoveing,   
			boolean c_isABC, boolean c_isDEF,   boolean c_isGHI, 
			boolean c_isJKL) 
		{
		super();
		this.i1 = i1;
		this.i2 = i2;
		this.i3 = i3;
		this.i4 = i4;
		this.i5 = i5;
		
		this.c_isDead = c_isDead;
		this.c_ismoveing = c_ismoveing;
		this.c_isABC = c_isABC;
		this.c_isDEF = c_isDEF;
		this.c_isGHI = c_isGHI;
		this.c_isJKL = c_isJKL;
		
		this.l1 = l1;
		this.l2 = l2;
		this.l3 = l3;
		this.l4 = l4;
		
		this.c_name = c_name;
	}
	
	
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Creature [c_id=");
		builder.append(c_id);
		builder.append(", c_isDead=");
		builder.append(c_isDead);
		builder.append(", i1=");
		builder.append(i1);
		builder.append(", c_name=");
		builder.append(c_name);
		builder.append(", a=");
		builder.append(a);
		builder.append(", l1=");
		builder.append(l1);
		builder.append(", c_ismoveing=");
		builder.append(c_ismoveing);
		builder.append(", b=");
		builder.append(b);
		builder.append(", i2=");
		builder.append(i2);
		builder.append(", c_isABC=");
		builder.append(c_isABC);
		builder.append(", l2=");
		builder.append(l2);
		builder.append(", c_isDEF=");
		builder.append(c_isDEF);
		builder.append(", c=");
		builder.append(c);
		builder.append(", i3=");
		builder.append(i3);
		builder.append(", c_isGHI=");
		builder.append(c_isGHI);
		builder.append(", i4=");
		builder.append(i4);
		builder.append(", c_isJKL=");
		builder.append(c_isJKL);
		builder.append(", l3=");
		builder.append(l3);
		builder.append("]");
		return builder.toString();
	}
	
	
	
	private int c_id = 0;
	/**
	 * @return the i5
	 */
	public int getI5() {
		return i5;
	}

	/**
	 * @param i5 the i5 to set
	 */
	public void setI5(int i5) {
		this.i5 = i5;
	}

	/**
	 * @return the d
	 */
	public byte getD() {
		return d;
	}

	/**
	 * @param d the d to set
	 */
	public void setD(byte d) {
		this.d = d;
	}

	/**
	 * @return the l4
	 */
	public long getL4() {
		return l4;
	}

	/**
	 * @param l4 the l4 to set
	 */
	public void setL4(long l4) {
		this.l4 = l4;
	}
	/**
	 * @return the c_id
	 */
	public int getC_id() {
		return c_id;
	}
	/**
	 * @param c_id the c_id to set
	 */
	public void setC_id(int c_id) {
		this.c_id = c_id;
	}
	/**
	 * @return the c_isDead
	 */
	public boolean isC_isDead() {
		return c_isDead;
	}
	/**
	 * @param c_isDead the c_isDead to set
	 */
	public void setC_isDead(boolean c_isDead) {
		this.c_isDead = c_isDead;
	}
	/**
	 * @return the i1
	 */
	public int getI1() {
		return i1;
	}
	/**
	 * @param i1 the i1 to set
	 */
	public void setI1(int i1) {
		this.i1 = i1;
	}
	/**
	 * @return the c_name
	 */
	public String getC_name() {
		return c_name;
	}
	/**
	 * @param c_name the c_name to set
	 */
	public void setC_name(String c_name) {
		this.c_name = c_name;
	}
	/**
	 * @return the a
	 */
	public byte getA() {
		return a;
	}
	/**
	 * @param a the a to set
	 */
	public void setA(byte a) {
		this.a = a;
	}
	/**
	 * @return the l1
	 */
	public long getL1() {
		return l1;
	}
	/**
	 * @param l1 the l1 to set
	 */
	public void setL1(long l1) {
		this.l1 = l1;
	}
	/**
	 * @return the c_ismoveing
	 */
	public boolean isC_ismoveing() {
		return c_ismoveing;
	}
	/**
	 * @param c_ismoveing the c_ismoveing to set
	 */
	public void setC_ismoveing(boolean c_ismoveing) {
		this.c_ismoveing = c_ismoveing;
	}
	/**
	 * @return the b
	 */
	public byte getB() {
		return b;
	}
	/**
	 * @param b the b to set
	 */
	public void setB(byte b) {
		this.b = b;
	}
	/**
	 * @return the i2
	 */
	public int getI2() {
		return i2;
	}
	/**
	 * @param i2 the i2 to set
	 */
	public void setI2(int i2) {
		this.i2 = i2;
	}
	/**
	 * @return the c_isABC
	 */
	public boolean isC_isABC() {
		return c_isABC;
	}
	/**
	 * @param c_isABC the c_isABC to set
	 */
	public void setC_isABC(boolean c_isABC) {
		this.c_isABC = c_isABC;
	}
	/**
	 * @return the l2
	 */
	public long getL2() {
		return l2;
	}
	/**
	 * @param l2 the l2 to set
	 */
	public void setL2(long l2) {
		this.l2 = l2;
	}
	/**
	 * @return the c_isDEF
	 */
	public boolean isC_isDEF() {
		return c_isDEF;
	}
	/**
	 * @param c_isDEF the c_isDEF to set
	 */
	public void setC_isDEF(boolean c_isDEF) {
		this.c_isDEF = c_isDEF;
	}
	/**
	 * @return the c
	 */
	public byte getC() {
		return c;
	}
	/**
	 * @param c the c to set
	 */
	public void setC(byte c) {
		this.c = c;
	}
	/**
	 * @return the i3
	 */
	public int getI3() {
		return i3;
	}
	/**
	 * @param i3 the i3 to set
	 */
	public void setI3(int i3) {
		this.i3 = i3;
	}
	/**
	 * @return the c_isGHI
	 */
	public boolean isC_isGHI() {
		return c_isGHI;
	}
	/**
	 * @param c_isGHI the c_isGHI to set
	 */
	public void setC_isGHI(boolean c_isGHI) {
		this.c_isGHI = c_isGHI;
	}
	/**
	 * @return the i4
	 */
	public int getI4() {
		return i4;
	}
	/**
	 * @param i4 the i4 to set
	 */
	public void setI4(int i4) {
		this.i4 = i4;
	}
	/**
	 * @return the c_isJKL
	 */
	public boolean isC_isJKL() {
		return c_isJKL;
	}
	/**
	 * @param c_isJKL the c_isJKL to set
	 */
	public void setC_isJKL(boolean c_isJKL) {
		this.c_isJKL = c_isJKL;
	}
	/**
	 * @return the l3
	 */
	public long getL3() {
		return l3;
	}
	/**
	 * @param l3 the l3 to set
	 */
	public void setL3(long l3) {
		this.l3 = l3;
	}
	

}
